package com.css.zfzx.data.postgresql.qhProbabilityEarthquakeDangerPG.repository.entity;

import com.vividsolutions.jts.geom.Geometry;

import javax.persistence.*;
import java.util.Date;
import java.util.Objects;

/**
 * @Description:
 * @Author: Li Helei
 * @CreateDate: 2021/3/4 9:59
 * @Version: 1.0
 **/
@Entity
@Table(name = "qh_probability_earthquake_danger", schema = "public", catalog = "beforebase")
public class QhProbabilityEarthquakeDangerPostgresqlEntity {
    private String uuid;
    private String province;
    private String city;
    private String area;
    private String affiliatedFileName;
    private Double a;
    private Double b;
    private Double c;
    private Double d;
    private Double e;
    private Double f;
    private Double g;
    private Double h;
    private Double i;
    private Double j;
    private String l;
    private String m;
    private String n;
    private String o;
    private String p;
    private String q;
    private String fxpcDcdxbmSjgl;
    private String isValid;
    private String partitionFlag;
    private String createUser;
    private Date createTime;
    private String updateUser;
    private Date updateTime;
    private String fxpcDataidSjgl;
    private String fxpcXzqhbmaSjgl;
    private String fxpcXzqhbmbSjgl;
    private String fxpcXzqhbmcSjgl;
    private String fxpcUpdatetimeSjgl;
    private String fxpcCreatetimeSjgl;
    private String fxpcSjztSjgl;
    private String fxpcShlcztSjgl;
    private String fxpcShztSjgl;
    private String fxpcSshySjgl;
    private String fxpcRqfpSjgl;
    private String fxpcPchSjgl;
    private Geometry extends1;
    private String extends2;
    private String extends3;
    private String extends4;
    private String extends5;

    @Id
    @Column(name = "uuid")
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Basic
    @Column(name = "province")
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Basic
    @Column(name = "city")
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Basic
    @Column(name = "area")
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    @Basic
    @Column(name = "affiliated_file_name")
    public String getAffiliatedFileName() {
        return affiliatedFileName;
    }

    public void setAffiliatedFileName(String affiliatedFileName) {
        this.affiliatedFileName = affiliatedFileName;
    }

    @Basic
    @Column(name = "a")
    public Double getA() {
        return a;
    }

    public void setA(Double a) {
        this.a = a;
    }

    @Basic
    @Column(name = "b")
    public Double getB() {
        return b;
    }

    public void setB(Double b) {
        this.b = b;
    }

    @Basic
    @Column(name = "c")
    public Double getC() {
        return c;
    }

    public void setC(Double c) {
        this.c = c;
    }

    @Basic
    @Column(name = "d")
    public Double getD() {
        return d;
    }

    public void setD(Double d) {
        this.d = d;
    }

    @Basic
    @Column(name = "e")
    public Double getE() {
        return e;
    }

    public void setE(Double e) {
        this.e = e;
    }

    @Basic
    @Column(name = "f")
    public Double getF() {
        return f;
    }

    public void setF(Double f) {
        this.f = f;
    }

    @Basic
    @Column(name = "g")
    public Double getG() {
        return g;
    }

    public void setG(Double g) {
        this.g = g;
    }

    @Basic
    @Column(name = "h")
    public Double getH() {
        return h;
    }

    public void setH(Double h) {
        this.h = h;
    }

    @Basic
    @Column(name = "i")
    public Double getI() {
        return i;
    }

    public void setI(Double i) {
        this.i = i;
    }

    @Basic
    @Column(name = "j")
    public Double getJ() {
        return j;
    }

    public void setJ(Double j) {
        this.j = j;
    }

    @Basic
    @Column(name = "l")
    public String getL() {
        return l;
    }

    public void setL(String l) {
        this.l = l;
    }

    @Basic
    @Column(name = "m")
    public String getM() {
        return m;
    }

    public void setM(String m) {
        this.m = m;
    }

    @Basic
    @Column(name = "n")
    public String getN() {
        return n;
    }

    public void setN(String n) {
        this.n = n;
    }

    @Basic
    @Column(name = "o")
    public String getO() {
        return o;
    }

    public void setO(String o) {
        this.o = o;
    }

    @Basic
    @Column(name = "p")
    public String getP() {
        return p;
    }

    public void setP(String p) {
        this.p = p;
    }

    @Basic
    @Column(name = "q")
    public String getQ() {
        return q;
    }

    public void setQ(String q) {
        this.q = q;
    }

    @Basic
    @Column(name = "fxpc_dcdxbm_sjgl")
    public String getFxpcDcdxbmSjgl() {
        return fxpcDcdxbmSjgl;
    }

    public void setFxpcDcdxbmSjgl(String fxpcDcdxbmSjgl) {
        this.fxpcDcdxbmSjgl = fxpcDcdxbmSjgl;
    }

    @Basic
    @Column(name = "is_valid")
    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    @Basic
    @Column(name = "partition_flag")
    public String getPartitionFlag() {
        return partitionFlag;
    }

    public void setPartitionFlag(String partitionFlag) {
        this.partitionFlag = partitionFlag;
    }

    @Basic
    @Column(name = "create_user")
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "update_user")
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Basic
    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "fxpc_dataid_sjgl")
    public String getFxpcDataidSjgl() {
        return fxpcDataidSjgl;
    }

    public void setFxpcDataidSjgl(String fxpcDataidSjgl) {
        this.fxpcDataidSjgl = fxpcDataidSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbma_sjgl")
    public String getFxpcXzqhbmaSjgl() {
        return fxpcXzqhbmaSjgl;
    }

    public void setFxpcXzqhbmaSjgl(String fxpcXzqhbmaSjgl) {
        this.fxpcXzqhbmaSjgl = fxpcXzqhbmaSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbmb_sjgl")
    public String getFxpcXzqhbmbSjgl() {
        return fxpcXzqhbmbSjgl;
    }

    public void setFxpcXzqhbmbSjgl(String fxpcXzqhbmbSjgl) {
        this.fxpcXzqhbmbSjgl = fxpcXzqhbmbSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbmc_sjgl")
    public String getFxpcXzqhbmcSjgl() {
        return fxpcXzqhbmcSjgl;
    }

    public void setFxpcXzqhbmcSjgl(String fxpcXzqhbmcSjgl) {
        this.fxpcXzqhbmcSjgl = fxpcXzqhbmcSjgl;
    }

    @Basic
    @Column(name = "fxpc_updatetime_sjgl")
    public String getFxpcUpdatetimeSjgl() {
        return fxpcUpdatetimeSjgl;
    }

    public void setFxpcUpdatetimeSjgl(String fxpcUpdatetimeSjgl) {
        this.fxpcUpdatetimeSjgl = fxpcUpdatetimeSjgl;
    }

    @Basic
    @Column(name = "fxpc_createtime_sjgl")
    public String getFxpcCreatetimeSjgl() {
        return fxpcCreatetimeSjgl;
    }

    public void setFxpcCreatetimeSjgl(String fxpcCreatetimeSjgl) {
        this.fxpcCreatetimeSjgl = fxpcCreatetimeSjgl;
    }

    @Basic
    @Column(name = "fxpc_sjzt_sjgl")
    public String getFxpcSjztSjgl() {
        return fxpcSjztSjgl;
    }

    public void setFxpcSjztSjgl(String fxpcSjztSjgl) {
        this.fxpcSjztSjgl = fxpcSjztSjgl;
    }

    @Basic
    @Column(name = "fxpc_shlczt_sjgl")
    public String getFxpcShlcztSjgl() {
        return fxpcShlcztSjgl;
    }

    public void setFxpcShlcztSjgl(String fxpcShlcztSjgl) {
        this.fxpcShlcztSjgl = fxpcShlcztSjgl;
    }

    @Basic
    @Column(name = "fxpc_shzt_sjgl")
    public String getFxpcShztSjgl() {
        return fxpcShztSjgl;
    }

    public void setFxpcShztSjgl(String fxpcShztSjgl) {
        this.fxpcShztSjgl = fxpcShztSjgl;
    }

    @Basic
    @Column(name = "fxpc_sshy_sjgl")
    public String getFxpcSshySjgl() {
        return fxpcSshySjgl;
    }

    public void setFxpcSshySjgl(String fxpcSshySjgl) {
        this.fxpcSshySjgl = fxpcSshySjgl;
    }

    @Basic
    @Column(name = "fxpc_rqfp_sjgl")
    public String getFxpcRqfpSjgl() {
        return fxpcRqfpSjgl;
    }

    public void setFxpcRqfpSjgl(String fxpcRqfpSjgl) {
        this.fxpcRqfpSjgl = fxpcRqfpSjgl;
    }

    @Basic
    @Column(name = "fxpc_pch_sjgl")
    public String getFxpcPchSjgl() {
        return fxpcPchSjgl;
    }

    public void setFxpcPchSjgl(String fxpcPchSjgl) {
        this.fxpcPchSjgl = fxpcPchSjgl;
    }

    @Basic
    @Column(name = "extends1", columnDefinition="Geometry", nullable = true)
    public Geometry getExtends1() {
        return extends1;
    }

    public void setExtends1(Geometry extends1) {
        this.extends1 = extends1;
    }

    @Basic
    @Column(name = "extends2")
    public String getExtends2() {
        return extends2;
    }

    public void setExtends2(String extends2) {
        this.extends2 = extends2;
    }

    @Basic
    @Column(name = "extends3")
    public String getExtends3() {
        return extends3;
    }

    public void setExtends3(String extends3) {
        this.extends3 = extends3;
    }

    @Basic
    @Column(name = "extends4")
    public String getExtends4() {
        return extends4;
    }

    public void setExtends4(String extends4) {
        this.extends4 = extends4;
    }

    @Basic
    @Column(name = "extends5")
    public String getExtends5() {
        return extends5;
    }

    public void setExtends5(String extends5) {
        this.extends5 = extends5;
    }

    @Override
    public boolean equals(Object o1) {
        if (this == o1) return true;
        if (o1 == null || getClass() != o1.getClass()) return false;
        QhProbabilityEarthquakeDangerPostgresqlEntity that = (QhProbabilityEarthquakeDangerPostgresqlEntity) o1;
        return Objects.equals(uuid, that.uuid) &&
                Objects.equals(province, that.province) &&
                Objects.equals(city, that.city) &&
                Objects.equals(area, that.area) &&
                Objects.equals(affiliatedFileName, that.affiliatedFileName) &&
                Objects.equals(a, that.a) &&
                Objects.equals(b, that.b) &&
                Objects.equals(c, that.c) &&
                Objects.equals(d, that.d) &&
                Objects.equals(e, that.e) &&
                Objects.equals(f, that.f) &&
                Objects.equals(g, that.g) &&
                Objects.equals(h, that.h) &&
                Objects.equals(i, that.i) &&
                Objects.equals(j, that.j) &&
                Objects.equals(l, that.l) &&
                Objects.equals(m, that.m) &&
                Objects.equals(n, that.n) &&
                Objects.equals(o, that.o) &&
                Objects.equals(p, that.p) &&
                Objects.equals(q, that.q) &&
                Objects.equals(fxpcDcdxbmSjgl, that.fxpcDcdxbmSjgl) &&
                Objects.equals(isValid, that.isValid) &&
                Objects.equals(partitionFlag, that.partitionFlag) &&
                Objects.equals(createUser, that.createUser) &&
                Objects.equals(createTime, that.createTime) &&
                Objects.equals(updateUser, that.updateUser) &&
                Objects.equals(updateTime, that.updateTime) &&
                Objects.equals(fxpcDataidSjgl, that.fxpcDataidSjgl) &&
                Objects.equals(fxpcXzqhbmaSjgl, that.fxpcXzqhbmaSjgl) &&
                Objects.equals(fxpcXzqhbmbSjgl, that.fxpcXzqhbmbSjgl) &&
                Objects.equals(fxpcXzqhbmcSjgl, that.fxpcXzqhbmcSjgl) &&
                Objects.equals(fxpcUpdatetimeSjgl, that.fxpcUpdatetimeSjgl) &&
                Objects.equals(fxpcCreatetimeSjgl, that.fxpcCreatetimeSjgl) &&
                Objects.equals(fxpcSjztSjgl, that.fxpcSjztSjgl) &&
                Objects.equals(fxpcShlcztSjgl, that.fxpcShlcztSjgl) &&
                Objects.equals(fxpcShztSjgl, that.fxpcShztSjgl) &&
                Objects.equals(fxpcSshySjgl, that.fxpcSshySjgl) &&
                Objects.equals(fxpcRqfpSjgl, that.fxpcRqfpSjgl) &&
                Objects.equals(fxpcPchSjgl, that.fxpcPchSjgl) &&
                Objects.equals(extends1, that.extends1) &&
                Objects.equals(extends2, that.extends2) &&
                Objects.equals(extends3, that.extends3) &&
                Objects.equals(extends4, that.extends4) &&
                Objects.equals(extends5, that.extends5);
    }

    @Override
    public int hashCode() {
        return Objects.hash(uuid, province, city, area, affiliatedFileName, a, b, c, d, e, f, g, h, i, j, l, m, n, o, p, q, fxpcDcdxbmSjgl, isValid, partitionFlag, createUser, createTime, updateUser, updateTime, fxpcDataidSjgl, fxpcXzqhbmaSjgl, fxpcXzqhbmbSjgl, fxpcXzqhbmcSjgl, fxpcUpdatetimeSjgl, fxpcCreatetimeSjgl, fxpcSjztSjgl, fxpcShlcztSjgl, fxpcShztSjgl, fxpcSshySjgl, fxpcRqfpSjgl, fxpcPchSjgl, extends1, extends2, extends3, extends4, extends5);
    }
}
